/**
 * CarParamMapperExt
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-06-08  Created
 */
package com.lzy.cloud.goods.mapper;

import com.lzy.cloud.goods.dtos.CarMachineTypeDto;
import com.lzy.cloud.goods.dtos.CarParamAppDto;
import com.lzy.cloud.goods.dtos.CarParamDto;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;
import java.util.List;

@Resource
public interface CarParamMapperExt extends CarParamMapper {


    List<CarParamDto> selectList(@Param("param") CarParamDto dto);
    /*假删*/
    int delByKey(@Param("param") CarParamDto dto);

    //真删
    int delByKeyTrue(@Param("param") CarParamDto carParamDto);

    List<CarParamDto> selectCoreValue(@Param("param") CarParamDto carParamDto);

    List<CarParamAppDto> findCore(Long sourceId);
}